//
//  CustomPageControl.m
//  PageController
//
//  Created by 四川中农 on 2018/9/18.
//  Copyright © 2018年 四川中农. All rights reserved.
//

#import "CustomPageControl.h"
#import <objc/runtime.h>

@implementation CustomPageControl

+ (void)load{
    Method origin = class_getInstanceMethod([self class], @selector(_indicatorSpacing));
    Method custom = class_getInstanceMethod([self class], @selector(custom_indicatorSpacing));
    method_exchangeImplementations(origin, custom);
}

- (double)custom_indicatorSpacing
{
    return 1;
}

@end
